/*==============================================================================
             Copyright (c) 2009 - All rights reserved
================================================================================
File description:

    IPersistence definition

================================================================================
      Date            Name                    Description of Change
26-Aug-2009  Xiaofeng.Gu                    Written
$HISTORY$
==============================================================================*/

#pragma once

#include "XMLParser.h"


#define NODE_X					_T("X")
#define NODE_Y					_T("Y")
#define NODE_Z					_T("Z")
#define NODE_NORMAL				_T("Normal")
#define NODE_BONE				_T("Bone")
#define NODE_KNOT				_T("Knot")
#define NODE_KEY_TIME			_T("Key_Time")
#define NODE_HIGH_LIGHT			_T("High_Light")
#define NODE_TIMELINE			_T("Timeline")
#define NODE_FAMILY				_T("Family")
#define NODE_JOINT				_T("Joint")
#define NODE_TRANSNODE			_T("TransNode")

class IPersistence
{
public:
	virtual bool OnRead(CXMLParser* pParser) = 0;
	virtual bool OnWrite(CXMLParser* pParser) = 0;
};